import request from '@/api/utils/requery'

//消息处理

//获取所有验收数据
export const getAllCheck = () => request({
    method:'post',
    url:"manager/selectAllCheckInfo"
})

//验收状态处理
export const CheckHandle = (x1,x2) => {
    return request({
        method: 'post',
        url:`manager/check?status=${x1}&&id=${x2}`
    })
} 

//获取所有延期数据
export const getAllDelay = () => request({
    url:"manager/selectAllPostponeInfo"
})

//延期状态处理
export const DelayHandle = (x1,x2) => {
    return request({
        method: "post",
        url:`manager/processingDelay?status=${x1}&&id=${x2}`
    })
}